/**
 * @author yanwl
 * @date 2014-12-09
 */
package com.chnbst.mbstyun.pojo;

import java.util.Date;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "tb_message_check")
@Entity
public class MessageCheck{

	/**
	 * 接受手机号码
	 */
    private String toTel;

    /**
     * 发送日期
     */
    private Date sendTime;

    /**
     * 发送数量
     */
    private Integer sendNum;

    @Column(name = "to_tel", nullable = false, insertable = true, updatable = true, length = 11, precision = 0)
    @Id
    /**
     * 获取接受手机号码
     * @return 接受手机号码
     */
    public String getToTel() {
        return toTel;
    }

    /**
     * 设置接受手机号码
     * @param toTel 接受手机号码
     */
    public void setToTel(String toTel) {
        this.toTel = toTel;
    }

    @Column(name = "send_time", nullable = true, insertable = true, updatable = true, length = 20, precision = 0)
   	@Basic
    /**
     * 获取发送日期
     * @return 接受手机号码
     */
    public Date getSendTime() {
        return sendTime;
    }

    /**
     * 设置发送日期
     * @param sendTime 发送日期
     */
    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    @Column(name = "send_num", nullable = true, insertable = true, updatable = true, length = 1, precision = 0)
   	@Basic
    /**
     * 获取发送数量
     * @return 接受手机号码
     */
    public Integer getSendNum() {
        return sendNum;
    }

    /**
     * 设置发送数量
     * @param sendNum  发送数量
     */
    public void setSendNum(Integer sendNum) {
        this.sendNum = sendNum;
    }
}